//
//  PPostVideoHandler.h
//  PPostAudioFunction
//
//  Created by carlos on 14-5-2.
//  Copyright (c) 2014年 carlosk. All rights reserved.
//

#import <Foundation/Foundation.h>


//默认最大录音时间
#define kDefaultMaxRecordTime               60
#define kNotifiAudioPlayFinishedName @"kNotifiAudioPlayFinishedName"
@interface PPostVideoHandler : NSObject
@property(nonatomic,copy)void (^doEndRecord)(NSString *filePath,NSString *fileName,int time);//结束的block

//开始录音
- (void)startRecord:(UIView *)topView;
//结束录音
- (void)endRecord;
//播放
+(void)play:(NSString *)filePath;
//是否是正在播放
+(BOOL)isPlay;
//停止播放
+(void)stopPlay;


@end
